<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>File Source for config.php</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
						<h1>Source for file config.php</h1>
<p>Documentation is available at <a href="../psa/_config.php.html">config.php</a></p>
<div class="src-code">
<div class="src-code"><ol><li><div class="src-line"><a name="a1"></a><span class="src-php">&lt;?php</span></div></li>
<li><div class="src-line"><a name="a2"></a><span class="src-doc">/**</span></div></li>
<li><div class="src-line"><a name="a3"></a><span class="src-doc">&nbsp;*&nbsp;Global&nbsp;PSA&nbsp;config&nbsp;file.</span></div></li>
<li><div class="src-line"><a name="a4"></a><span class="src-doc">&nbsp;*&nbsp;See&nbsp;comments&nbsp;in&nbsp;the&nbsp;file&nbsp;for&nbsp;detailed&nbsp;description&nbsp;of&nbsp;global&nbsp;settings.</span></div></li>
<li><div class="src-line"><a name="a5"></a><span class="src-doc">&nbsp;*&nbsp;You&nbsp;can&nbsp;make&nbsp;file&nbsp;named&nbsp;&lt;kbd&gt;config_override.php&lt;/kbd&gt;&nbsp;in&nbsp;the&nbsp;same&nbsp;directory</span></div></li>
<li><div class="src-line"><a name="a6"></a><span class="src-doc">&nbsp;*&nbsp;and&nbsp;override&nbsp;values&nbsp;from&nbsp;this&nbsp;file.&nbsp;It&nbsp;is&nbsp;useful&nbsp;if&nbsp;you&nbsp;update&nbsp;your&nbsp;PSA&nbsp;directory</span></div></li>
<li><div class="src-line"><a name="a7"></a><span class="src-doc">&nbsp;*&nbsp;from&nbsp;SVN&nbsp;repository.</span></div></li>
<li><div class="src-line"><a name="a8"></a><span class="src-doc">&nbsp;*&nbsp;</span></div></li>
<li><div class="src-line"><a name="a9"></a><span class="src-doc">&nbsp;*&nbsp;</span></div></li>
<li><div class="src-line"><a name="a10"></a><span class="src-doc">&nbsp;*&nbsp;LICENSE:</span></div></li>
<li><div class="src-line"><a name="a11"></a><span class="src-doc">&nbsp;*&nbsp;</span></div></li>
<li><div class="src-line"><a name="a12"></a><span class="src-doc">&nbsp;*&nbsp;This&nbsp;library&nbsp;is&nbsp;free&nbsp;software:&nbsp;you&nbsp;can&nbsp;redistribute&nbsp;it&nbsp;and/or&nbsp;modify</span></div></li>
<li><div class="src-line"><a name="a13"></a><span class="src-doc">&nbsp;*&nbsp;it&nbsp;under&nbsp;the&nbsp;terms&nbsp;of&nbsp;the&nbsp;GNU&nbsp;Lesser&nbsp;General&nbsp;Public&nbsp;License&nbsp;as&nbsp;published&nbsp;by</span></div></li>
<li><div class="src-line"><a name="a14"></a><span class="src-doc">&nbsp;*&nbsp;the&nbsp;Free&nbsp;Software&nbsp;Foundation,&nbsp;either&nbsp;version&nbsp;3&nbsp;of&nbsp;the&nbsp;License,&nbsp;or</span></div></li>
<li><div class="src-line"><a name="a15"></a><span class="src-doc">&nbsp;*&nbsp;(at&nbsp;your&nbsp;option)&nbsp;any&nbsp;later&nbsp;version.</span></div></li>
<li><div class="src-line"><a name="a16"></a><span class="src-doc">&nbsp;*&nbsp;</span></div></li>
<li><div class="src-line"><a name="a17"></a><span class="src-doc">&nbsp;*&nbsp;This&nbsp;library&nbsp;is&nbsp;distributed&nbsp;in&nbsp;the&nbsp;hope&nbsp;that&nbsp;it&nbsp;will&nbsp;be&nbsp;useful,</span></div></li>
<li><div class="src-line"><a name="a18"></a><span class="src-doc">&nbsp;*&nbsp;but&nbsp;WITHOUT&nbsp;ANY&nbsp;WARRANTY;&nbsp;without&nbsp;even&nbsp;the&nbsp;implied&nbsp;warranty&nbsp;of</span></div></li>
<li><div class="src-line"><a name="a19"></a><span class="src-doc">&nbsp;*&nbsp;MERCHANTABILITY&nbsp;or&nbsp;FITNESS&nbsp;FOR&nbsp;A&nbsp;PARTICULAR&nbsp;PURPOSE.&nbsp;See&nbsp;the</span></div></li>
<li><div class="src-line"><a name="a20"></a><span class="src-doc">&nbsp;*&nbsp;GNU&nbsp;Lesser&nbsp;General&nbsp;Public&nbsp;License&nbsp;for&nbsp;more&nbsp;details.</span></div></li>
<li><div class="src-line"><a name="a21"></a><span class="src-doc">&nbsp;*&nbsp;</span></div></li>
<li><div class="src-line"><a name="a22"></a><span class="src-doc">&nbsp;*&nbsp;You&nbsp;should&nbsp;have&nbsp;received&nbsp;a&nbsp;copy&nbsp;of&nbsp;the&nbsp;GNU&nbsp;Lesser&nbsp;General&nbsp;Public&nbsp;License</span></div></li>
<li><div class="src-line"><a name="a23"></a><span class="src-doc">&nbsp;*&nbsp;along&nbsp;with&nbsp;This&nbsp;library.&nbsp;If&nbsp;not,&nbsp;see&nbsp;&lt;</span><span class="src-doc-inlinetag">{@link&nbsp;http://www.gnu.org/licenses/}</span><span class="src-doc">&gt;.</span></div></li>
<li><div class="src-line"><a name="a24"></a><span class="src-doc">&nbsp;*</span></div></li>
<li><div class="src-line"><a name="a25"></a><span class="src-doc">&nbsp;*&nbsp;</span><span class="src-doc-coretag">@link</span><span class="src-doc">&nbsp;http://code.google.com/p/phpstartapp/</span></div></li>
<li><div class="src-line"><a name="a26"></a><span class="src-doc">&nbsp;*&nbsp;</span><span class="src-doc-coretag">@author</span><span class="src-doc">&nbsp;Bojan&nbsp;Mauser&nbsp;&lt;bmauser@gmail.com&gt;</span></div></li>
<li><div class="src-line"><a name="a27"></a><span class="src-doc">&nbsp;*&nbsp;</span><span class="src-doc-coretag">@copyright</span><span class="src-doc">&nbsp;Bojan&nbsp;Mauser&nbsp;2009</span></div></li>
<li><div class="src-line"><a name="a28"></a><span class="src-doc">&nbsp;*&nbsp;</span><span class="src-doc-coretag">@package</span><span class="src-doc">&nbsp;psa</span></div></li>
<li><div class="src-line"><a name="a29"></a><span class="src-doc">&nbsp;*&nbsp;</span><span class="src-doc-coretag">@version</span><span class="src-doc">&nbsp;$Id:&nbsp;config.php&nbsp;464&nbsp;2009-03-24&nbsp;00:30:12Z&nbsp;bmauser&nbsp;$</span></div></li>
<li><div class="src-line"><a name="a30"></a><span class="src-doc">&nbsp;*/</span></div></li>
<li><div class="src-line"><a name="a31"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a32"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a33"></a><span class="src-doc">/**</span></div></li>
<li><div class="src-line"><a name="a34"></a><span class="src-doc">&nbsp;*&nbsp;PDO&nbsp;settings&nbsp;-&nbsp;database&nbsp;connection&nbsp;settings</span></div></li>
<li><div class="src-line"><a name="a35"></a><span class="src-doc">&nbsp;*/</span></div></li>
<li><div class="src-line"><a name="a36"></a><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'pdo'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'username'</span><span class="src-sym">]&nbsp;</span>=&nbsp;<span class="src-str">'databaseUser'</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a37"></a><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'pdo'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'password'</span><span class="src-sym">]&nbsp;</span>=&nbsp;<span class="src-str">'databasePass'</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a38"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a39"></a><span class="src-comm">//&nbsp;for&nbsp;MySQL:</span></div></li>
<li><div class="src-line"><a name="a40"></a><span class="src-comm">//$PSA_CFG['pdo']['dsn']&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&quot;mysql:host=localhost;port=3306;dbname=databaseName&quot;;</span></div></li>
<li><div class="src-line"><a name="a41"></a><span class="src-comm">//$PSA_CFG['pdo']['driver_options']&nbsp;=&nbsp;array(PDO::MYSQL_ATTR_INIT_COMMAND&nbsp;=&gt;&nbsp;&quot;SET&nbsp;NAMES&nbsp;utf8&quot;,&nbsp;PDO::ATTR_ERRMODE&nbsp;=&gt;&nbsp;PDO::ERRMODE_EXCEPTION);</span></div></li>
<li><div class="src-line"><a name="a42"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a43"></a><span class="src-comm">//&nbsp;for&nbsp;PostgreSQL:</span></div></li>
<li><div class="src-line"><a name="a44"></a><span class="src-comm">//$PSA_CFG['pdo']['dsn']&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&quot;pgsql:host=localhost;port=5432;dbname=databaseName&quot;;</span></div></li>
<li><div class="src-line"><a name="a45"></a><span class="src-comm">//$PSA_CFG['pdo']['driver_options']&nbsp;=&nbsp;array(PDO::ATTR_ERRMODE&nbsp;=&gt;&nbsp;PDO::ERRMODE_EXCEPTION);</span></div></li>
<li><div class="src-line"><a name="a46"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a47"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a48"></a><span class="src-doc">/**</span></div></li>
<li><div class="src-line"><a name="a49"></a><span class="src-doc">&nbsp;*&nbsp;Develop&nbsp;mode.</span></div></li>
<li><div class="src-line"><a name="a50"></a><span class="src-doc">&nbsp;*&nbsp;If&nbsp;true,&nbsp;some&nbsp;settings&nbsp;optimized&nbsp;for&nbsp;developing&nbsp;will&nbsp;be&nbsp;set.&nbsp;On&nbsp;production&nbsp;site&nbsp;you</span></div></li>
<li><div class="src-line"><a name="a51"></a><span class="src-doc">&nbsp;*&nbsp;MUST&nbsp;set&nbsp;this&nbsp;to&nbsp;false.</span></div></li>
<li><div class="src-line"><a name="a52"></a><span class="src-doc">&nbsp;*&nbsp;-&nbsp;Smarty's&nbsp;force_compile&nbsp;option&nbsp;set&nbsp;to&nbsp;true</span></div></li>
<li><div class="src-line"><a name="a53"></a><span class="src-doc">&nbsp;*&nbsp;&nbsp;&nbsp;(see&nbsp;</span><span class="src-doc-inlinetag">{@link&nbsp;http://www.smarty.net/manual/en/variable.force.compile.php}</span><span class="src-doc">)</span></div></li>
<li><div class="src-line"><a name="a54"></a><span class="src-doc">&nbsp;*&nbsp;-&nbsp;logs&nbsp;turned&nbsp;on</span></div></li>
<li><div class="src-line"><a name="a55"></a><span class="src-doc">&nbsp;*&nbsp;-&nbsp;error&nbsp;reporting&nbsp;set&nbsp;to&nbsp;E_ALL</span></div></li>
<li><div class="src-line"><a name="a56"></a><span class="src-doc">&nbsp;*&nbsp;-&nbsp;plugins&nbsp;are&nbsp;registered&nbsp;on&nbsp;every&nbsp;request</span></div></li>
<li><div class="src-line"><a name="a57"></a><span class="src-doc">&nbsp;*&nbsp;-&nbsp;$_SESSION['psa_plugins']&nbsp;value&nbsp;is&nbsp;always&nbsp;retrieved&nbsp;from&nbsp;the&nbsp;database&nbsp;(this&nbsp;session&nbsp;variable</span></div></li>
<li><div class="src-line"><a name="a58"></a><span class="src-doc">&nbsp;*&nbsp;&nbsp;&nbsp;holds&nbsp;data&nbsp;about&nbsp;registered&nbsp;plugins).</span></div></li>
<li><div class="src-line"><a name="a59"></a><span class="src-doc">&nbsp;*&nbsp;-&nbsp;warnings&nbsp;are&nbsp;shown&nbsp;if&nbsp;a&nbsp;query&nbsp;against&nbsp;the&nbsp;database&nbsp;fails</span></div></li>
<li><div class="src-line"><a name="a60"></a><span class="src-doc">&nbsp;*&nbsp;-&nbsp;some&nbsp;information&nbsp;about&nbsp;each&nbsp;request&nbsp;will&nbsp;be&nbsp;available&nbsp;through&nbsp;Psa_Registry&nbsp;object&nbsp;in</span></div></li>
<li><div class="src-line"><a name="a61"></a><span class="src-doc">&nbsp;*&nbsp;&nbsp;&nbsp;psa_request_info&nbsp;member&nbsp;array.</span></div></li>
<li><div class="src-line"><a name="a62"></a><span class="src-doc">&nbsp;*&nbsp;&nbsp;&nbsp;This&nbsp;information&nbsp;can&nbsp;be&nbsp;nicely&nbsp;shown&nbsp;on&nbsp;web&nbsp;page&nbsp;by&nbsp;including&nbsp;html&nbsp;code&nbsp;that&nbsp;returns</span></div></li>
<li><div class="src-line"><a name="a63"></a><span class="src-doc">&nbsp;*&nbsp;&nbsp;&nbsp;psa_request_info_html()&nbsp;function.&nbsp;It&nbsp;can&nbsp;be&nbsp;very&nbsp;useful&nbsp;for&nbsp;debugging&nbsp;and&nbsp;while&nbsp;developing.</span></div></li>
<li><div class="src-line"><a name="a64"></a><span class="src-doc">&nbsp;*&nbsp;&nbsp;&nbsp;Read&nbsp;more&nbsp;in&nbsp;documentation&nbsp;for&nbsp;psa_request_info_html()&nbsp;function.</span></div></li>
<li><div class="src-line"><a name="a65"></a><span class="src-doc">&nbsp;*/</span></div></li>
<li><div class="src-line"><a name="a66"></a><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'develop_mode'</span><span class="src-sym">]&nbsp;</span>=&nbsp;<span class="src-id">true</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a67"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a68"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a69"></a><span class="src-doc">/**</span></div></li>
<li><div class="src-line"><a name="a70"></a><span class="src-doc">&nbsp;*&nbsp;Web&nbsp;path&nbsp;to&nbsp;folder&nbsp;where&nbsp;index.php&nbsp;is&nbsp;if&nbsp;application&nbsp;is&nbsp;not&nbsp;in&nbsp;web&nbsp;server&nbsp;root&nbsp;directory.</span></div></li>
<li><div class="src-line"><a name="a71"></a><span class="src-doc">&nbsp;*&nbsp;This&nbsp;can&nbsp;be&nbsp;used&nbsp;in&nbsp;router&nbsp;to&nbsp;correctly&nbsp;parse&nbsp;url&nbsp;to&nbsp;find&nbsp;out&nbsp;what&nbsp;is&nbsp;controller&nbsp;name.</span></div></li>
<li><div class="src-line"><a name="a72"></a><span class="src-doc">&nbsp;*&nbsp;Leave&nbsp;empty&nbsp;('')&nbsp;if&nbsp;your&nbsp;application&nbsp;is&nbsp;in&nbsp;the&nbsp;web&nbsp;server&nbsp;root&nbsp;folder.</span></div></li>
<li><div class="src-line"><a name="a73"></a><span class="src-doc">&nbsp;*&nbsp;Example:&nbsp;'/webroot/myapp'</span></div></li>
<li><div class="src-line"><a name="a74"></a><span class="src-doc">&nbsp;*&nbsp;I&nbsp;set&nbsp;this&nbsp;value&nbsp;without&nbsp;'/'&nbsp;at&nbsp;the&nbsp;end,&nbsp;but&nbsp;that&nbsp;is&nbsp;at&nbsp;your&nbsp;choice&nbsp;and&nbsp;how&nbsp;will&nbsp;you&nbsp;use&nbsp;it</span></div></li>
<li><div class="src-line"><a name="a75"></a><span class="src-doc">&nbsp;*&nbsp;later,&nbsp;for&nbsp;example&nbsp;in&nbsp;router.</span></div></li>
<li><div class="src-line"><a name="a76"></a><span class="src-doc">&nbsp;*/</span></div></li>
<li><div class="src-line"><a name="a77"></a><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'folders'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'basedir_web'</span><span class="src-sym">]&nbsp;</span>=&nbsp;<span class="src-str">''</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a78"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a79"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a80"></a><span class="src-doc">/**</span></div></li>
<li><div class="src-line"><a name="a81"></a><span class="src-doc">&nbsp;*&nbsp;Plugin&nbsp;locations.</span></div></li>
<li><div class="src-line"><a name="a82"></a><span class="src-doc">&nbsp;*&nbsp;Folders&nbsp;in&nbsp;$PSA_CFG['folders']['plugins']&nbsp;array&nbsp;will&nbsp;be&nbsp;recursively&nbsp;checked&nbsp;for&nbsp;plugins</span></div></li>
<li><div class="src-line"><a name="a83"></a><span class="src-doc">&nbsp;*&nbsp;on&nbsp;plugin&nbsp;registration.&nbsp;You&nbsp;can&nbsp;add&nbsp;more&nbsp;locations&nbsp;for&nbsp;plugins&nbsp;classes&nbsp;by&nbsp;adding&nbsp;elements</span></div></li>
<li><div class="src-line"><a name="a84"></a><span class="src-doc">&nbsp;*&nbsp;to&nbsp;this&nbsp;array.&nbsp;Paths&nbsp;in&nbsp;this&nbsp;array&nbsp;must&nbsp;be&nbsp;relative&nbsp;to&nbsp;PSA&nbsp;main&nbsp;folder.</span></div></li>
<li><div class="src-line"><a name="a85"></a><span class="src-doc">&nbsp;*/</span></div></li>
<li><div class="src-line"><a name="a86"></a><span class="src-comm">//$PSA_CFG['folders']['plugins'][]&nbsp;=&nbsp;'../plugins';</span></div></li>
<li><div class="src-line"><a name="a87"></a><span class="src-comm">//$PSA_CFG['folders']['plugins'][]&nbsp;=&nbsp;'../my_plugins';</span></div></li>
<li><div class="src-line"><a name="a88"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a89"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a90"></a><span class="src-doc">/**</span></div></li>
<li><div class="src-line"><a name="a91"></a><span class="src-doc">&nbsp;*&nbsp;Router&nbsp;location.&nbsp;Folder&nbsp;where&nbsp;is&nbsp;Router.php&nbsp;file.</span></div></li>
<li><div class="src-line"><a name="a92"></a><span class="src-doc">&nbsp;*&nbsp;If&nbsp;this&nbsp;is&nbsp;not&nbsp;set&nbsp;router&nbsp;will&nbsp;be&nbsp;searched&nbsp;in&nbsp;first&nbsp;plugin&nbsp;location.</span></div></li>
<li><div class="src-line"><a name="a93"></a><span class="src-doc">&nbsp;*&nbsp;Relative&nbsp;to&nbsp;PSA&nbsp;main&nbsp;folder&nbsp;without&nbsp;'/'&nbsp;at&nbsp;the&nbsp;end.</span></div></li>
<li><div class="src-line"><a name="a94"></a><span class="src-doc">&nbsp;*/</span></div></li>
<li><div class="src-line"><a name="a95"></a><span class="src-comm">//$PSA_CFG['router_location']&nbsp;=&nbsp;'';</span></div></li>
<li><div class="src-line"><a name="a96"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a97"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a98"></a><span class="src-doc">/**</span></div></li>
<li><div class="src-line"><a name="a99"></a><span class="src-doc">&nbsp;*&nbsp;Plugin&nbsp;types&nbsp;location.</span></div></li>
<li><div class="src-line"><a name="a100"></a><span class="src-doc">&nbsp;*&nbsp;Folders&nbsp;in&nbsp;$PSA_CFG['folders']['plugin_types']&nbsp;array&nbsp;will&nbsp;be&nbsp;checked&nbsp;for&nbsp;classes&nbsp;that</span></div></li>
<li><div class="src-line"><a name="a101"></a><span class="src-doc">&nbsp;*&nbsp;defines&nbsp;PSA&nbsp;plugins.&nbsp;Names&nbsp;of&nbsp;those&nbsp;classes&nbsp;must&nbsp;start&nbsp;with&nbsp;'Psa_Plugin_'</span></div></li>
<li><div class="src-line"><a name="a102"></a><span class="src-doc">&nbsp;*&nbsp;You&nbsp;can&nbsp;add&nbsp;more&nbsp;locations&nbsp;for&nbsp;plugin&nbsp;types&nbsp;classes&nbsp;by&nbsp;adding&nbsp;elements</span></div></li>
<li><div class="src-line"><a name="a103"></a><span class="src-doc">&nbsp;*&nbsp;to&nbsp;this&nbsp;array.&nbsp;Paths&nbsp;in&nbsp;this&nbsp;array&nbsp;must&nbsp;be&nbsp;relative&nbsp;to&nbsp;PSA&nbsp;main&nbsp;folder.</span></div></li>
<li><div class="src-line"><a name="a104"></a><span class="src-doc">&nbsp;*/</span></div></li>
<li><div class="src-line"><a name="a105"></a><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'folders'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'plugin_types'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-sym">]&nbsp;</span>=&nbsp;<span class="src-str">'plugin_classes'</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a106"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a107"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a108"></a><span class="src-doc">/**</span></div></li>
<li><div class="src-line"><a name="a109"></a><span class="src-doc">&nbsp;*&nbsp;Folders&nbsp;for&nbsp;Smarty&nbsp;templates.&nbsp;Relative&nbsp;from&nbsp;PSA&nbsp;main&nbsp;folder.&nbsp;See&nbsp;http://smarty.php.net/&nbsp;for&nbsp;details.</span></div></li>
<li><div class="src-line"><a name="a110"></a><span class="src-doc">&nbsp;*/</span></div></li>
<li><div class="src-line"><a name="a111"></a><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'folders'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'smarty'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'cache_dir'</span><span class="src-sym">]&nbsp;&nbsp;&nbsp;&nbsp;</span>=&nbsp;<span class="src-str">'../templates/smarty/cache'</span><span class="src-sym">;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="src-comm">//&nbsp;must&nbsp;be&nbsp;writable&nbsp;to&nbsp;web&nbsp;server</span></div></li>
<li><div class="src-line"><a name="a112"></a><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'folders'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'smarty'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'config_dir'</span><span class="src-sym">]&nbsp;&nbsp;&nbsp;</span>=&nbsp;<span class="src-str">'../templates/smarty/configs'</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a113"></a><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'folders'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'smarty'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'compile_dir'</span><span class="src-sym">]&nbsp;&nbsp;</span>=&nbsp;<span class="src-str">'../templates/smarty/templates_c'</span><span class="src-sym">;&nbsp;</span><span class="src-comm">//&nbsp;must&nbsp;be&nbsp;writable&nbsp;to&nbsp;web&nbsp;server</span></div></li>
<li><div class="src-line"><a name="a114"></a><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'folders'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'smarty'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'template_dir'</span><span class="src-sym">]&nbsp;</span>=&nbsp;<span class="src-str">'../templates'</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a115"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a116"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a117"></a><span class="src-doc">/**</span></div></li>
<li><div class="src-line"><a name="a118"></a><span class="src-doc">&nbsp;*&nbsp;Folder&nbsp;for&nbsp;Dully&nbsp;templates.&nbsp;Uncomment&nbsp;if&nbsp;you&nbsp;use&nbsp;Dully&nbsp;templates</span></div></li>
<li><div class="src-line"><a name="a119"></a><span class="src-doc">&nbsp;*/</span></div></li>
<li><div class="src-line"><a name="a120"></a><span class="src-comm">//&nbsp;$PSA_CFG['folders']['dully']['template_dir']&nbsp;=&nbsp;'templates';</span></div></li>
<li><div class="src-line"><a name="a121"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a122"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a123"></a><span class="src-doc">/**</span></div></li>
<li><div class="src-line"><a name="a124"></a><span class="src-doc">&nbsp;*&nbsp;If&nbsp;true&nbsp;profile&nbsp;log&nbsp;will&nbsp;be&nbsp;enabled.</span></div></li>
<li><div class="src-line"><a name="a125"></a><span class="src-doc">&nbsp;*&nbsp;If&nbsp;you&nbsp;enable&nbsp;this,&nbsp;profile&nbsp;log&nbsp;will&nbsp;be&nbsp;written&nbsp;into&nbsp;psa_profile_log&nbsp;database&nbsp;table&nbsp;by&nbsp;default</span></div></li>
<li><div class="src-line"><a name="a126"></a><span class="src-doc">&nbsp;*&nbsp;(see&nbsp;settings&nbsp;below).&nbsp;Enabling&nbsp;this&nbsp;will&nbsp;greatly&nbsp;increase&nbsp;number&nbsp;of&nbsp;queries&nbsp;against&nbsp;the&nbsp;database</span></div></li>
<li><div class="src-line"><a name="a127"></a><span class="src-doc">&nbsp;*&nbsp;on&nbsp;every&nbsp;request.&nbsp;You&nbsp;should&nbsp;enable&nbsp;this&nbsp;in&nbsp;testing&nbsp;and&nbsp;profiling&nbsp;process.</span></div></li>
<li><div class="src-line"><a name="a128"></a><span class="src-doc">&nbsp;*&nbsp;When&nbsp;you&nbsp;collect&nbsp;appropriate&nbsp;amount&nbsp;of&nbsp;data&nbsp;in&nbsp;profile&nbsp;log&nbsp;you&nbsp;can&nbsp;run&nbsp;various&nbsp;sql&nbsp;queries&nbsp;to&nbsp;get</span></div></li>
<li><div class="src-line"><a name="a129"></a><span class="src-doc">&nbsp;*&nbsp;interesting&nbsp;data&nbsp;about&nbsp;your&nbsp;application&nbsp;like&nbsp;which&nbsp;methods&nbsp;are&nbsp;mostly&nbsp;invoked,&nbsp;which&nbsp;takes&nbsp;the&nbsp;most</span></div></li>
<li><div class="src-line"><a name="a130"></a><span class="src-doc">&nbsp;*&nbsp;execution&nbsp;time&nbsp;and&nbsp;are&nbsp;candidates&nbsp;for&nbsp;optimization.</span></div></li>
<li><div class="src-line"><a name="a131"></a><span class="src-doc">&nbsp;*&nbsp;Logging&nbsp;must&nbsp;be&nbsp;enabled&nbsp;for&nbsp;this&nbsp;to&nbsp;work&nbsp;(see&nbsp;['logging']['max_log_level']&nbsp;option&nbsp;below).</span></div></li>
<li><div class="src-line"><a name="a132"></a><span class="src-doc">&nbsp;*&nbsp;</span></div></li>
<li><div class="src-line"><a name="a133"></a><span class="src-doc">&nbsp;*&nbsp;NOTE:&nbsp;psa_main()&nbsp;methods&nbsp;from&nbsp;router&nbsp;and&nbsp;controller&nbsp;plugins&nbsp;will&nbsp;take&nbsp;the&nbsp;most&nbsp;time</span></div></li>
<li><div class="src-line"><a name="a134"></a><span class="src-doc">&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;because&nbsp;from&nbsp;them&nbsp;are&nbsp;all&nbsp;other&nbsp;methods&nbsp;called&nbsp;thus&nbsp;their&nbsp;time&nbsp;will&nbsp;be&nbsp;sum&nbsp;of&nbsp;times.</span></div></li>
<li><div class="src-line"><a name="a135"></a><span class="src-doc">&nbsp;*&nbsp;</span></div></li>
<li><div class="src-line"><a name="a136"></a><span class="src-doc">&nbsp;*&nbsp;NOTE:&nbsp;If&nbsp;property&nbsp;$psa_no_profile_log&nbsp;is&nbsp;set&nbsp;in&nbsp;plugin&nbsp;object&nbsp;(class),&nbsp;profile&nbsp;log&nbsp;will&nbsp;be&nbsp;disabled&nbsp;for</span></div></li>
<li><div class="src-line"><a name="a137"></a><span class="src-doc">&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;all&nbsp;methods&nbsp;in&nbsp;this&nbsp;class.&nbsp;You&nbsp;can&nbsp;do&nbsp;that&nbsp;for&nbsp;Router&nbsp;or&nbsp;Controller&nbsp;if&nbsp;you&nbsp;don't&nbsp;want&nbsp;to&nbsp;have&nbsp;them</span></div></li>
<li><div class="src-line"><a name="a138"></a><span class="src-doc">&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;profile&nbsp;log.</span></div></li>
<li><div class="src-line"><a name="a139"></a><span class="src-doc">&nbsp;*/</span></div></li>
<li><div class="src-line"><a name="a140"></a><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'profile_log'</span><span class="src-sym">]&nbsp;</span>=&nbsp;<span class="src-num">0</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a141"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a142"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a143"></a><span class="src-doc">/**</span></div></li>
<li><div class="src-line"><a name="a144"></a><span class="src-doc">&nbsp;*&nbsp;Logging.&nbsp;If&nbsp;enabled&nbsp;(see&nbsp;max_log_level&nbsp;value&nbsp;below)&nbsp;some&nbsp;PSA&nbsp;activity&nbsp;will&nbsp;be&nbsp;logged.</span></div></li>
<li><div class="src-line"><a name="a145"></a><span class="src-doc">&nbsp;*&nbsp;This&nbsp;values&nbsp;are&nbsp;used&nbsp;by&nbsp;Psa_Logger&nbsp;class&nbsp;which&nbsp;you&nbsp;can&nbsp;extend&nbsp;for&nbsp;your&nbsp;customized&nbsp;logging&nbsp;in&nbsp;your&nbsp;plugins.</span></div></li>
<li><div class="src-line"><a name="a146"></a><span class="src-doc">&nbsp;*&nbsp;You&nbsp;can&nbsp;add&nbsp;more&nbsp;storages&nbsp;to&nbsp;$PSA_CFG['logging']['storage']&nbsp;array&nbsp;for&nbsp;your&nbsp;custom&nbsp;logs.</span></div></li>
<li><div class="src-line"><a name="a147"></a><span class="src-doc">&nbsp;*/</span></div></li>
<li><div class="src-line"><a name="a148"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a149"></a><span class="src-comm">//&nbsp;Log&nbsp;level:</span></div></li>
<li><div class="src-line"><a name="a150"></a><span class="src-comm">//&nbsp;&nbsp;0&nbsp;-&nbsp;logging&nbsp;disabled,&nbsp;</span></div></li>
<li><div class="src-line"><a name="a151"></a><span class="src-comm">//&nbsp;&nbsp;1&nbsp;-&nbsp;only&nbsp;exceptions,&nbsp;errors,&nbsp;warnings</span></div></li>
<li><div class="src-line"><a name="a152"></a><span class="src-comm">//&nbsp;&nbsp;2&nbsp;-&nbsp;all&nbsp;in&nbsp;level&nbsp;1&nbsp;and&nbsp;some&nbsp;activities&nbsp;like&nbsp;authorizations,&nbsp;user/group&nbsp;data&nbsp;saving,&nbsp;password&nbsp;changing...</span></div></li>
<li><div class="src-line"><a name="a153"></a><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'logging'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'max_log_level'</span><span class="src-sym">]&nbsp;</span>=&nbsp;<span class="src-num">2</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a154"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a155"></a><span class="src-comm">//&nbsp;Log&nbsp;storage:</span></div></li>
<li><div class="src-line"><a name="a156"></a><span class="src-comm">//&nbsp;-&nbsp;storage&nbsp;type&nbsp;can&nbsp;be&nbsp;'database'&nbsp;or&nbsp;'file'.&nbsp;PSA&nbsp;writes&nbsp;log&nbsp;messages&nbsp;in&nbsp;storage&nbsp;named&nbsp;'psa_default'.</span></div></li>
<li><div class="src-line"><a name="a157"></a><span class="src-comm">//&nbsp;-&nbsp;storage&nbsp;target&nbsp;can&nbsp;be&nbsp;database&nbsp;table&nbsp;name&nbsp;or&nbsp;or&nbsp;full&nbsp;filesystem&nbsp;path&nbsp;for&nbsp;the&nbsp;log&nbsp;file.&nbsp;</span></div></li>
<li><div class="src-line"><a name="a158"></a><span class="src-comm">//&nbsp;&nbsp;&nbsp;If&nbsp;is&nbsp;a&nbsp;file,&nbsp;web&nbsp;server&nbsp;must&nbsp;have&nbsp;write&nbsp;permission&nbsp;on&nbsp;the&nbsp;specified&nbsp;file.</span></div></li>
<li><div class="src-line"><a name="a159"></a><span class="src-comm">//&nbsp;NOTE:&nbsp;If&nbsp;you&nbsp;want&nbsp;to&nbsp;write&nbsp;logs&nbsp;to&nbsp;different&nbsp;database&nbsp;than&nbsp;one&nbsp;mentioned&nbsp;in&nbsp;$PSA_CFG['pdo']['dsn']</span></div></li>
<li><div class="src-line"><a name="a160"></a><span class="src-comm">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;write&nbsp;target&nbsp;as&nbsp;'database.psa_log'.&nbsp;Also&nbsp;database&nbsp;user&nbsp;used&nbsp;to&nbsp;connect&nbsp;to&nbsp;database&nbsp;must&nbsp;have</span></div></li>
<li><div class="src-line"><a name="a161"></a><span class="src-comm">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;permission&nbsp;to&nbsp;write&nbsp;to&nbsp;that&nbsp;database.</span></div></li>
<li><div class="src-line"><a name="a162"></a><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'logging'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'storage'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'psa_default'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'type'</span><span class="src-sym">]&nbsp;&nbsp;&nbsp;</span>=&nbsp;<span class="src-str">'database'</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a163"></a><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'logging'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'storage'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'psa_default'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'target'</span><span class="src-sym">]&nbsp;</span>=&nbsp;<span class="src-str">'psa_log'</span><span class="src-sym">;&nbsp;</span><span class="src-comm">//&nbsp;for&nbsp;PSA&nbsp;default&nbsp;log</span></div></li>
<li><div class="src-line"><a name="a164"></a><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'logging'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'storage'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'psa_profile'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'type'</span><span class="src-sym">]&nbsp;&nbsp;&nbsp;</span>=&nbsp;<span class="src-str">'database'</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a165"></a><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'logging'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'storage'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'psa_profile'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'target'</span><span class="src-sym">]&nbsp;</span>=&nbsp;<span class="src-str">'psa_profile_log'</span><span class="src-sym">;&nbsp;</span><span class="src-comm">//&nbsp;for&nbsp;PSA&nbsp;profile&nbsp;log.</span></div></li>
<li><div class="src-line"><a name="a166"></a><span class="src-comm">//$PSA_CFG['logging']['storage']['my_storage']['type']&nbsp;&nbsp;&nbsp;=&nbsp;'database';</span></div></li>
<li><div class="src-line"><a name="a167"></a><span class="src-comm">//$PSA_CFG['logging']['storage']['my_storage']['target']&nbsp;=&nbsp;'my_log_table';</span></div></li>
<li><div class="src-line"><a name="a168"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a169"></a><span class="src-comm">//&nbsp;Single&nbsp;or&nbsp;multiple&nbsp;lines&nbsp;in&nbsp;log&nbsp;messages.</span></div></li>
<li><div class="src-line"><a name="a170"></a><span class="src-comm">//&nbsp;If&nbsp;logging&nbsp;storage&nbsp;type&nbsp;is&nbsp;'file'&nbsp;should&nbsp;log&nbsp;messages&nbsp;be&nbsp;written&nbsp;with&nbsp;new&nbsp;lines&nbsp;(more&nbsp;lines&nbsp;per&nbsp;</span></div></li>
<li><div class="src-line"><a name="a171"></a><span class="src-comm">//&nbsp;one&nbsp;log&nbsp;message&nbsp;which&nbsp;is&nbsp;more&nbsp;readable)&nbsp;or&nbsp;one&nbsp;log&nbsp;message&nbsp;per&nbsp;line.</span></div></li>
<li><div class="src-line"><a name="a172"></a><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'logging'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'more_lines'</span><span class="src-sym">]&nbsp;</span>=&nbsp;<span class="src-id">true</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a173"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a174"></a><span class="src-comm">//&nbsp;Time&nbsp;format&nbsp;for&nbsp;log&nbsp;message.&nbsp;</span></div></li>
<li><div class="src-line"><a name="a175"></a><span class="src-comm">//&nbsp;This&nbsp;is&nbsp;used&nbsp;only&nbsp;when&nbsp;logging&nbsp;to&nbsp;file.&nbsp;See&nbsp;date()&nbsp;function&nbsp;in&nbsp;PHP&nbsp;manual&nbsp;for&nbsp;details.</span></div></li>
<li><div class="src-line"><a name="a176"></a><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'logging'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'time_format'</span><span class="src-sym">]&nbsp;</span>=&nbsp;<span class="src-str">'d.m.Y&nbsp;H:i:s'</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a177"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a178"></a><span class="src-comm">//&nbsp;Should&nbsp;new&nbsp;database&nbsp;connection&nbsp;be&nbsp;opened&nbsp;for&nbsp;writing&nbsp;logs&nbsp;to&nbsp;database.</span></div></li>
<li><div class="src-line"><a name="a179"></a><span class="src-comm">//&nbsp;Set&nbsp;this&nbsp;to&nbsp;1&nbsp;if&nbsp;you&nbsp;use&nbsp;database&nbsp;transactions&nbsp;and&nbsp;you&nbsp;want&nbsp;to&nbsp;write&nbsp;logs&nbsp;to&nbsp;database&nbsp;from&nbsp;inside&nbsp;</span></div></li>
<li><div class="src-line"><a name="a180"></a><span class="src-comm">//&nbsp;transactions&nbsp;that&nbsp;can&nbsp;be&nbsp;rollbacked.</span></div></li>
<li><div class="src-line"><a name="a181"></a><span class="src-comm">//&nbsp;NOTE:&nbsp;If&nbsp;you&nbsp;enable&nbsp;this&nbsp;option&nbsp;and&nbsp;use&nbsp;logging&nbsp;and&nbsp;profile&nbsp;logging,</span></div></li>
<li><div class="src-line"><a name="a182"></a><span class="src-comm">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;on&nbsp;every&nbsp;request&nbsp;3&nbsp;database&nbsp;connections&nbsp;will&nbsp;be&nbsp;opened.</span></div></li>
<li><div class="src-line"><a name="a183"></a><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'logging'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'new_database_connection'</span><span class="src-sym">]&nbsp;</span>=&nbsp;<span class="src-num">0</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a184"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a185"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a186"></a><span class="src-doc">/**</span></div></li>
<li><div class="src-line"><a name="a187"></a><span class="src-doc">&nbsp;*&nbsp;PSA&nbsp;main&nbsp;directory&nbsp;(this&nbsp;is&nbsp;also&nbsp;set&nbsp;in&nbsp;front_controler.php&nbsp;thus&nbsp;we&nbsp;have&nbsp;'if'&nbsp;here)</span></div></li>
<li><div class="src-line"><a name="a188"></a><span class="src-doc">&nbsp;*/</span></div></li>
<li><div class="src-line"><a name="a189"></a><span class="src-key">if</span><span class="src-sym">(</span><span class="src-sym">!</span>isset<span class="src-sym">(</span><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'folders'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'basedir'</span><span class="src-sym">]</span><span class="src-sym">))</span></div></li>
<li><div class="src-line"><a name="a190"></a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'folders'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'basedir'</span><span class="src-sym">]&nbsp;</span>=&nbsp;<a href="http://www.php.net/dirname">dirname</a><span class="src-sym">(</span>__FILE__<span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a191"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a192"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a193"></a><span class="src-doc">/**</span></div></li>
<li><div class="src-line"><a name="a194"></a><span class="src-doc">&nbsp;*&nbsp;User&nbsp;passwords&nbsp;hashing&nbsp;method.&nbsp;This&nbsp;value&nbsp;must&nbsp;be&nbsp;valid&nbsp;argument&nbsp;for&nbsp;hash()&nbsp;PHP&nbsp;function.</span></div></li>
<li><div class="src-line"><a name="a195"></a><span class="src-doc">&nbsp;*/</span></div></li>
<li><div class="src-line"><a name="a196"></a><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'password_hash'</span><span class="src-sym">]&nbsp;</span>=&nbsp;<span class="src-str">'sha256'</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a197"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a198"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a199"></a><span class="src-doc">/**</span></div></li>
<li><div class="src-line"><a name="a200"></a><span class="src-doc">&nbsp;*&nbsp;Database&nbsp;tables&nbsp;names.</span></div></li>
<li><div class="src-line"><a name="a201"></a><span class="src-doc">&nbsp;*/</span></div></li>
<li><div class="src-line"><a name="a202"></a><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'database'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'table'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'user'</span><span class="src-sym">]&nbsp;</span>=&nbsp;<span class="src-str">'psa_user'</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a203"></a><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'database'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'table'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'group'</span><span class="src-sym">]&nbsp;</span>=&nbsp;<span class="src-str">'psa_group'</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a204"></a><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'database'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'table'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'user_in_group'</span><span class="src-sym">]&nbsp;</span>=&nbsp;<span class="src-str">'psa_user_in_group'</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a205"></a><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'database'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'table'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'plugin'</span><span class="src-sym">]&nbsp;</span>=&nbsp;<span class="src-str">'psa_plugin'</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a206"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a207"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a208"></a><span class="src-doc">/**</span></div></li>
<li><div class="src-line"><a name="a209"></a><span class="src-doc">&nbsp;*&nbsp;Config&nbsp;file&nbsp;that&nbsp;will&nbsp;override&nbsp;settings&nbsp;in&nbsp;this&nbsp;file.</span></div></li>
<li><div class="src-line"><a name="a210"></a><span class="src-doc">&nbsp;*/</span></div></li>
<li><div class="src-line"><a name="a211"></a><span class="src-key">if</span><span class="src-sym">(</span><a href="http://www.php.net/file_exists">file_exists</a><span class="src-sym">(</span><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'folders'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'basedir'</span><span class="src-sym">]&nbsp;</span>.&nbsp;<span class="src-str">'/config_override.php'</span><span class="src-sym">))</span></div></li>
<li><div class="src-line"><a name="a212"></a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-inc">include_once&nbsp;</span><span class="src-var">$PSA_CFG</span><span class="src-sym">[</span><span class="src-str">'folders'</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-str">'basedir'</span><span class="src-sym">]&nbsp;</span>.&nbsp;<span class="src-str">'/config_override.php'</span><span class="src-sym">;</span></div></li>
</ol></div>
</div>
	<p class="notes" id="credit">
		Documentation generated on Thu, 21 Oct 2010 01:40:48 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</body>
</html>